Page({
  data: {
    background:"../../../images/invite.jpg",
    name:"",
    day:"182天"
  },
  onLoad: function (options) {

    app.bind();
    var that = this;
    var userInfo = wx.getStorageSync('user_info');;
    var name = userInfo.nickName;
    that.setData({
      name: name
    })
  },
  onReady: function () {
  
  },
  onShow: function () {
  
  },
  onHide: function () {
  
  },
  onUnload: function () {
  
  },
  onPullDownRefresh: function () {
  
  },
  onReachBottom: function () {
  
  },
  onShareAppMessage: function () {
    var url = app.getcurrentPage();
    var user_id = wx.getStorageSync('user_id');
    return {
      path: url + "?user_id=" + user_id,
      title: '得道1314'
    };  
  }
})